home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d8 / zc1750d.arc / ZCOMMDOC.AH < prev    next >
Encoding:
Text File  |  1990-01-22  |  70.7 KB  |  1,771 lines

  1.  
  2.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  3.         ZCOMM User Manual                                                  211
  4.  
  5.         This example causes ZCOMM to ask for a name when F12 (shift F2) is
  6.         typed.  The name is read into string parameter S1, which is then used
  7.         as part of the argument for the find command.  The find command
  8.         searches the telephone directory for lines beginning with the string
  9.         you just typed in.  To match only lines starting with the given
  10.         string, a linefeed (\n) is prepended to the argument of the find
  11.         command.  When the obey command executes, the backslash-space
  12.         sequences translate to spaces, and the double backslash translates to
  13.         a single backslash.
  14.  
  15.         The space after "find" and after "%s1" must be escaped because the
  16.         obey command accepts a single string argument.  If these spaces were
  17.         not escaped, the obey command would not "see" the rest of the line
  18.         after "find".
  19.  
  20.         The find command performs its own character escape translation,
  21.         changing the \n to a linefeed character.
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.         (C) 1989 Omen Tech Inc                      Chapter 24 Test Conditions
  59.  
  60.  
  61.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  62.         ZCOMM User Manual                                                  212
  63.  
  64.         25.  TEST CONDITIONS (if, on, while commands)
  65.  
  66.         The following conditions may be tested with the if, on and while
  67.         commands.
  68.  
  69.         Where a string parameter is indicated, it is an error to specify a
  70.         nonexistient string parameter.
  71.  
  72.         When an immediate string argument is indicated, that argument is
  73.         delimited only by white space.  As a result, if "is1,hello&&L<5"
  74.         command ...  won't work as expected, but if is1,hello if "L<5" command
  75.         ...  will work.
  76.  
  77.         Some of the test conditions described below may be used with ">",
  78.         "==", "!=", or "<" for numeric comparisions.  The right hand argument
  79.         of a numeric comparision may be:
  80.  
  81.            + A decimal number.
  82.  
  83.              EXAMPLE:      if "L>5" abort
  84.  
  85.  
  86.            + A string paremeter which contains a decimal number.
  87.  
  88.              EXAMPLE: set maxloops "5"
  89.                   if "L>maxloops" abort
  90.  
  91.  
  92.            + The length of the string stored in a string parameter, denoted by
  93.              a leading % character.
  94.  
  95.              EXAMPLE: set s1 "Hello"
  96.                   set s2 "foo"
  97.                   if "%s1>%s2" echo "%s1 is longer than %s2"
  98.  
  99.  
  100.         These comparisions should be quoted in case a future version of ZCOMM
  101.         implements output redirection in the same manner as COMMAND.COM or the
  102.         Unix shell.  On 16 bit machines, 16 bit numerical values are used in
  103.         comparisions; numbers greater than 32767 should not be used.
  104.  
  105.         Numeric conditions may also be tested against a bit mask using the &
  106.         operator.
  107.  
  108.         EXAMPLE:      if s&64 echo "Caps Lock is ON"
  109.  
  110.  
  111.  
  112.         0...25 The specified pattern (see pattern command) was matched in the
  113.           last wait command.
  114.  
  115.  
  116.  
  117.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  118.  
  119.  
  120.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  121.         ZCOMM User Manual                                                  213
  122.  
  123.         %svar The specified string parameter svar (see the set command) is non
  124.           empty.  May be used with ">", "==", or "<" for numeric comparisions
  125.           of the string length of svar.
  126.  
  127.           EXAMPLE: if %s1 putw %s1
  128.  
  129.  
  130.           EXAMPLE: if %symbol>4 ss symbol "(.*)[A-z]"; sets symbol %z1
  131.           If the length of the string in string variable symbol exceeds 4,
  132.           chop off the rightmost letter.
  133.  
  134.  
  135.         ? The ?  numeric parameter counts the number of files sent or received
  136.           with a protocol, and the number of lines matched by the find
  137.           command.  The fFILE test condition (if true) assigns the file length
  138.           to the ?  parameter.  On 16 bit computers, file lengths greater than
  139.           32767 are represented as 32767.  With certain operating systems, the
  140.           exit status of a subprogram accessed by a DOS Gateway is stored in
  141.           the ?  numeric parameter.
  142.  
  143.           The ?  numeric parameter may then be tested with the ?  test
  144.           condition.  It can be used with ">", "==", or "<" for numeric
  145.           comparisions.
  146.  
  147.           EXAMPLE: p?0 find fizzbin *.txt; if ? echo "Found fizzbin"
  148.  
  149.  
  150.           SEE ALSO: ?  numeric parameter
  151.  
  152.         B True iff Ctrl-Break has been pressed since the last purgek command.
  153.  
  154.         Csvar True iff string parameter svar contains any control characters
  155.           less than 040 (hex 20) or rubout.
  156.  
  157.           EXAMPLE: if Cs0 echo "Please Retype
  158.  
  159.  
  160.         E True iff the elapsed time in seconds is non 0.  Used with ">", "==",
  161.           or "<" for numeric comparisions.
  162.           NOTE: Elapsed time may be off by up to one second.  On 16 bit
  163.           machines, the maximum testable value for elapsed time is 32767
  164.           seconds.
  165.  
  166.           EXAMPLE: if "E>300" off Disconnects the modem if the elapsed time is
  167.           greater than 300 seconds.
  168.  
  169.  
  170.           SEE ALSO: restime command
  171.  
  172.         F>N True iff more than N kilobytes (1 kilobyte = 1024 bytes) of free
  173.           space remain on the default drive.
  174.  
  175.  
  176.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  177.  
  178.  
  179.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  180.         ZCOMM User Manual                                                  214
  181.  
  182.           EXAMPLE: if "F>2000" usq hugefile.q
  183.  
  184.  
  185.         Hregular-expression Searches backward thru the circular buffer for the
  186.           next line matching regular-expression.  If the search is successful,
  187.           the y string parameter points to the matched line.
  188.  
  189.           The N test condition may be used to test the number of lines that
  190.           were searched before finding a match.
  191.  
  192.           EXAMPLE: To allow processing of information such as:
  193.                5 Review folder UFO  (0 stories) (a typical news item in the
  194.           Executive News Service), one must scan for lines with a certain
  195.           pattern (in this case the character "(" immediately followed by
  196.           1...9 indicating 1 or more stories).
  197.  
  198.                while "H\([1-9]" ss (rest of line)
  199.  
  200.           The above searches backwards for the next line containing "(1" to
  201.           "(9".  Note that "(" is a magic character in regular-expressions,
  202.           and must be escaped.
  203.  
  204.  
  205.           The h test condition is similar, but starts the search with the last
  206.           displayed line.
  207.  
  208.  
  209.           SEE ALSO: ens.t and kcdisl.t scripts, regular-expressions, y, yb,
  210.           y0...y127 string parameters, N test condition
  211.  
  212.         Isvara,svarb Tests whether the contents of string variable svara are
  213.           IDENTICAL to the contents of string variable svarb.  Case is
  214.           significant.
  215.  
  216.           EXAMPLE: if Is0,s9 goto exactmatch
  217.  
  218.  
  219.           SEE ALSO: i test condition (compares a string parameter and an
  220.           immediate string)
  221.  
  222.         Jsvar,string Tests whether any of the characters in the immediate
  223.           string string appear one or more times in string parameter svar.
  224.  
  225.           EXAMPLE:
  226.           if "Js0,!@#$%^&()_" echo "No funny characters"; goto getname
  227.  
  228.  
  229.         L>N True iff this while command has made more then N loops.
  230.  
  231.           EXAMPLE: while !1 put "\r" wait ife "L>5" off Disconnects the modem
  232.           if the while command has sent more than five "\r"'s.  The "L>N"
  233.  
  234.  
  235.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  236.  
  237.  
  238.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  239.         ZCOMM User Manual                                                  215
  240.  
  241.           should be quoted in case a future version of ZCOMM implements output
  242.           redirection in the same manner as command.com or the Unix shell.
  243.  
  244.  
  245.         N>N True iff the last h or H condition searched more than N lines
  246.           before a match.
  247.  
  248.           SEE ALSO: h and H test conditions
  249.  
  250.         Q>N True iff the number of active queue entries is greater than N.
  251.  
  252.         R>N After a zcommand "" command, evaluates true iff more than N
  253.           kilobytes (1 kilobyte = 1024 bytes) of free space remain on the
  254.           remote system's default disk drive.
  255.  
  256.           EXAMPLE: zcommand ""; if "R>1000" sz -y hugefile
  257.  
  258.  
  259.         S>N True iff the transmission speed is greater N bits per second.
  260.  
  261.           EXAMPLE: if S>2400 put "set verbose\r"
  262.  
  263.  
  264.         U True if ZCOMM was unrestricted when the first level of the current
  265.           set of scripts was activated.
  266.  
  267.           SEE ALSO: u test condition
  268.  
  269.         asvar The numeric value of the specified string parameter svar is non
  270.           zero.  May be used with ">", "==", or "<" for numeric comparisions.
  271.           The string variable may contain leading spaces or tabs, an optional
  272.           + or - sign, and digits.
  273.  
  274.           EXAMPLE: if "as1==30" goto seen30 Performs the goto if s1 contains
  275.           "30".
  276.  
  277.  
  278.         bTIME True if the current time is Before TIME.  TIME is written in the
  279.           form [yy[mm[dd]]]hhmm.  No further conditions may be given in the if
  280.           statement after the b condition.
  281.  
  282.           EXAMPLE: if b2300 return Returns from the script if the time is
  283.           before 11 p.m.
  284.  
  285.  
  286.           EXAMPLE: if b8512250900 return Returns from the script if the
  287.           date/time is before 9 a.m.  Christmas day in 1985.
  288.  
  289.  
  290.         c Carrier detect is present on the modem port.
  291.  
  292.  
  293.  
  294.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  295.  
  296.  
  297.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  298.         ZCOMM User Manual                                                  216
  299.  
  300.           EXAMPLE: if !c goto lostit
  301.  
  302.           NOTE: On Unix systems, a dis -d command must be given to "arm" the
  303.           system to detect carrier loss.
  304.  
  305.           SEE ALSO: d mode
  306.  
  307.         d{?ADLMPSTXZacdflmrtu} True iff the corresponding configuration is
  308.           true:
  309.  
  310.             ? True if an unrecoverable error or manual abort was detected on
  311.               the last protocol file transfer.
  312.  
  313.             A True if the term function's emulation Alternate Keypad Mode mode
  314.               is on.
  315.  
  316.             C>N Numeric, true if the display column is greater than N.
  317.  
  318.             D The script is running on a demonstration program.
  319.  
  320.             L True if ZCOMM is recording TurboLearn(TM) script information
  321.               (learn command).
  322.  
  323.             M True if term function Keyboard Mapping is on ("display mapkb").
  324.  
  325.             P Packet state is active (X.PC driver).
  326.  
  327.             R>N Numeric, true if the display row is greater than N.
  328.  
  329.               EXAMPLE:      set fa10
  330.               @pat 23cp \n "@lput \E[K if dR>23 lput \E[H\E[K"
  331.               When the Alt-F10 key is struck, a search pattern (23) is set.
  332.               This searches for each linefeed from the remote and performs a
  333.               local display clear to end of line on each new line.  If the
  334.               display row exceeds 23, jump to the top of the screen and clear
  335.               the first line.  This "trick" may be used to prevent scrolling
  336.               on displays that smear badly.
  337.  
  338.  
  339.             S The script is running on a shareware program (e.g., ZCOMM).
  340.  
  341.             T True if a higher level of the script has called the Term
  342.               Function.  When True, the script should return to the Term
  343.               Function; the script should not invoke the Term Function.
  344.  
  345.             X The X.PC commands are available.
  346.  
  347.               EXAMPLE: if dX goto xpclogin
  348.  
  349.  
  350.  
  351.  
  352.  
  353.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  354.  
  355.  
  356.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  357.         ZCOMM User Manual                                                  217
  358.  
  359.             Z The ZMODEM commands are available.
  360.  
  361.               EXAMPLE: if dZ sz -n logfile
  362.  
  363.  
  364.             a>N True iff ZCOMM was called from the operating system with more
  365.               than N arguments (counting the program name).
  366.  
  367.             c The color/graphics display is selected.
  368.  
  369.             d ZCOMM is executing under DOS.
  370.  
  371.             f The program is running in the foreground.  On DOS, a script is
  372.               considered to be running in the foreground when it is NOT called
  373.               by the Callout Queue as described in Chapter 99.  A program
  374.               running in the background is unlikely to have an operator
  375.               available for interaction.
  376.  
  377.               Under Unix, a script is considered to be running in the
  378.               background if it is detached from possible keyboard input, and
  379.               ZCOMM will exit when it reaches the main command prompt.
  380.  
  381.               SEE ALSO: fg, bg commands
  382.  
  383.             l>N True iff the script level (nesting) is greatern than N.
  384.  
  385.             m The monochrome display is selected.
  386.  
  387.             r Data Set Ready (DSR) on the modem is active.
  388.  
  389.             t ZCOMM is running under a Topview or DESQview virtual screen
  390.               which may be smaller than the physical screen size
  391.  
  392.             u ZCOMM is executing under Unix/Xenix.
  393.  
  394.         e True iff an t, sz, or rz command terminated with an error, or if the
  395.           term function has detected framing or overrun errors, since the last
  396.           autodial.
  397.  
  398.         e>N True iff the e parameter (number of errors) is greater than N.
  399.  
  400.           EXAMPLE: if "e>5" off Disconnects the modem if more than 5 errors
  401.           have been counted.
  402.  
  403.           The "e>N" should be quoted in case a future version of ZCOMM
  404.           implements output redirection in the same manner as command.com or
  405.           the Unix shell.
  406.           NOTE: The e parameter is not compared within the term function, so
  407.           "detection" may be delayed.
  408.  
  409.           SEE ALSO: e numeric parameter
  410.  
  411.  
  412.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  413.  
  414.  
  415.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  416.         ZCOMM User Manual                                                  218
  417.  
  418.         fFILE (No space between f and FILE).  Tests whether FILE exists as a
  419.           normal readable file (not a directory or hidden file).  FILE is
  420.           expanded for string parameters.  If the test is successful, the ?
  421.           numeric parameter (testable with the ?  test condition) is set to
  422.           the file length. [1] The N test condition reflects the number of
  423.           links to the file.
  424.  
  425.           EXAMPLE: if fnit put "message\r"; f -xp nit; put "\r\336y" If nit
  426.           exists, give a "message" command, upload the file, then send
  427.           carriage return, pause, and the letter "y".
  428.  
  429.           When used in a numeric context, the fFILE test represents the size
  430.           of the file in full kilobytes (1024 bytes), or 1, whichever is
  431.           greater.
  432.  
  433.           EXAMPLE: if ffoo.bar>30 echo "File Longer than 30kb"
  434.  
  435.  
  436.           EXAMPLE: if fspy.kgb if !% echo "Zero Length File"
  437.  
  438.           SEE ALSO: obey command
  439.  
  440.         g Tests whether term function file transmission flow is go (not
  441.           stopped by an XOFF character).
  442.  
  443.           EXAMPLE: if !g echo "Remote has not sent XON"; pg1
  444.  
  445.  
  446.           SEE ALSO: g mode, term function XON and XOFF
  447.  
  448.         hregular-expression Please refer to the Hregular-expression test
  449.           condition.
  450.  
  451.         isvar,string Tests whether the contents of string variable svar are
  452.           identical to the immediate string string.  Case is significant.  No
  453.           further conditions may be given in the if statement after the i
  454.           condition.  This test is useful in designing menu applications.  The
  455.           menu script menu.hst uses this test condition extensively.
  456.  
  457.           EXAMPLE: accept s1 Choice:; if is1,a goto choicea Executes a goto
  458.           choicea if the user keyboards an a in response to the "Choice:"
  459.           prompt.
  460.  
  461.  
  462.  
  463.  
  464.         __________
  465.  
  466.          1. On 16 bit computers, file lengths greater than 32767 are
  467.             represented as 32767.
  468.  
  469.  
  470.  
  471.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  472.  
  473.  
  474.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  475.         ZCOMM User Manual                                                  219
  476.  
  477.           SEE ALSO: I test condition (compares two string parameters)
  478.  
  479.         jsvar,string Tests whether the immediate string string is a substring
  480.           of (contained somewhere within) the contents of string variable
  481.           svar.  Lower case characters in string match characters in either
  482.           case.  Upper case characters in string match upper case characters.
  483.           No further conditions may be given in the if statement after the j
  484.           condition.  This test is useful in designing menu applications, and
  485.           for examining message lines read with the grab command.
  486.  
  487.           EXAMPLE: grab s1; if js1,sig= goto endofsig Executes a goto if the
  488.           line read by the grab command contained "sig=" or "This SIG=".
  489.  
  490.  
  491.         k One or more characters have been received from the keyboard and are
  492.           in the interrupt queue awaiting processing.  Note: Keyboard
  493.           characters are transmitted to the remote by the term function,
  494.           except during a put command.
  495.  
  496.         l True if the line printer is ready to accept a character.
  497.  
  498.         m One or more characters have been received from the modem and are in
  499.           the interrupt queue awaiting processing.
  500.  
  501.         n No pattern was matched as a result of the last wait command or
  502.           search pending term function.  n detects a search timeout, loss of
  503.           carrier detect signal, or manual exit with F1 or ALT-X.
  504.  
  505.         psvar,string Tests whether the immediate string string is a prefix of
  506.           the contents of string variable svar.  The match is case sensitive.
  507.           No further conditions may be given in the if statement after the p
  508.           condition.  This test is useful for examining message lines read
  509.           with the grab command.
  510.  
  511.           EXAMPLE: grab s1; if ps1,sig= goto endofsig Executes a goto if the
  512.           line read by the grab command contained "sig=", but not if it
  513.           contained "This sig=" or "SIG=".
  514.  
  515.  
  516.         q>N True iff the number of free queue entries is greater than N.
  517.  
  518.         r True iff a receive file is open for capture.
  519.  
  520.           SEE ALSO: create, t commands
  521.  
  522.         s>N True iff the keyboard shift state is greater than N.
  523.  
  524.           EXAMPLE: if "s>63" echo "Caps Lock is Active"
  525.  
  526.  
  527.  
  528.  
  529.  
  530.         (C) 1989 Omen Tech Inc                      Chapter 25 Test Conditions
  531.  
  532.  
  533.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  534.         ZCOMM User Manual                                                  220
  535.  
  536.         t True iff a transmit file is open.
  537.  
  538.           EXAMPLE: if !t echoc "%1 Short file! ";  goto foobar
  539.  
  540.  
  541.           SEE ALSO: f, open commands
  542.  
  543.         u True if ZCOMM is unrestricted.
  544.  
  545.           SEE ALSO: U test condition
  546.  
  547.         v True if the v (Verbose) numeric parameter is non zero.
  548.  
  549.           EXAMPLE: if v s Displays the status on the console if the v numeric
  550.           parameter (Verbose) is non zero.
  551.  
  552.  
  553.         y ZCOMM accepts a single character from the keyboard, which is printed
  554.           followed by a newline.  True if the character is "y" or "Y".  False
  555.           the H numeric is non zero, and a character is not typed within the
  556.           time limit set by that parameter.
  557.  
  558.           EXAMPLE: echo "Really quit?"; if y quit
  559.  
  560.  
  561.         Compound tests may be formed with the unary ! (not), binary || (or),
  562.         and binary && (and) operators.  The tests are evaluated strictly left
  563.         to right.  The unary ! operator applies to the following operand only.
  564.  
  565.         EXAMPLE: if n&&!n||c echo "Carrier Detect Present" simply tests
  566.         carrier because the result of the binary and operation above is always
  567.         false.
  568.  
  569.         EXAMPLE: if !c||1||2 o abort Disconnects the modem and aborts the
  570.         script if carrier detect is off, or if either pattern 1 or pattern 2
  571.         were matched.
  572.  
  573.  
  574.         EXAMPLE: on e>45||!c goto allsignd Each time the term function
  575.         returns, branch to the end of the script if carrier detect is lost or
  576.         more than 45 line hits have been detected.
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.         (C) 1989 Omen Tech Inc                   Chapter 25 Terminal Emulation
  590.  
  591.  
  592.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  593.         ZCOMM User Manual                                                  221
  594.  
  595.         26.  TERMINAL (CRT) EMULATION
  596.  
  597.         ZCOMM emulates the H19, Z19, VT52, VT100, VT102, VT220, Wyse, and
  598.         LSI-ADM3a terminals.
  599.  
  600.         26.1  Wyse 60 Emulation
  601.  
  602.         DOS flavors can emulate the Wyse 60 terminal given the command display
  603.         wyse.  Wyse (wy60) terminal emulation supports operation with
  604.         applications on Unix/Xenix systems.  The command display wyse enables
  605.         Wyse screen emulation.
  606.  
  607.         Wyse emulation can place YAM in "PC Terminal" mode with 25 display
  608.         lines (status line invisible) and "scan code" operation.  Since the
  609.         SysRq key does not return a code to Zcomm, the sequence LeftShift Alt
  610.         = sends the scancodes generated by the SysRq key.  To exit from VP/ix,
  611.         hold down on the LeftShift and Alt keys, tap =, tap m (for menu), and
  612.         then tap q before releasing the Alt and Shift keys.
  613.  
  614.  
  615.         26.2  VT220 8 bit Controls
  616.  
  617.         The command display 8bit casuses ZCOMM to emulate the VT220 in "level
  618.         2" operation.  The DEC "GR" display characters are not currently
  619.         supported.
  620.  
  621.         Similarly, 8 bit Dasher terminal emulation is enabled by the display
  622.         8bit command.
  623.  
  624.  
  625.         26.3  Keyboard Mapping
  626.  
  627.         When enabled by a display mapkb command, DOS flavors of ZCOMM reassign
  628.         keys to simulate the function keys of the emulated terminal.  Keyboard
  629.         Mapping operartes only in the term function, where the mappings
  630.         override the other meanings of the affected keys.
  631.  
  632.         The following key assignments for a PC-AT style 84 key keyboard are
  633.         made by the distribution setup entry.
  634.          VT100 Keyboard Mappings for PC-AT Keyboard
  635.  
  636.          PC Key.................VT100 keyCharacter
  637.          F7.....................UP.......A    Cursor Keys
  638.          F8.....................DOWN.....B
  639.          F9.....................LEFT.....D
  640.          F10....................RIGHT....C
  641.          F1.....................PF1......P    PF Keys
  642.          F2.....................PF2......Q
  643.          F3.....................PF3......R
  644.          F4.....................PF4......S
  645.          Pad 0..................Pad 0....p    Number-Pad Keys
  646.  
  647.  
  648.         (C) 1989 Omen Tech Inc                   Chapter 26 Terminal Emulation
  649.  
  650.  
  651.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  652.         ZCOMM User Manual                                                  222
  653.  
  654.          ...
  655.          Pad 9..................Pad 9....y
  656.          Pad -..................Pad -....m
  657.          Pad *(PrtSC)..........., comma..l (lowercase L)
  658.          Del (.)................(.) (period)n
  659.          Pad +..................ENTER....M
  660.  
  661.  
  662.         Many users prefer a different keyboard layout for terminal emulation.
  663.         Laptop computers that do not use a standard keyboard layout may not
  664.         map well in Alternate Keypad Mode, suggesting different mappings.
  665.  
  666.         The mk command, K and N numeric parameters provide a flexible, if
  667.         complex, keyboard mapping ability for various terminal emulations.
  668.  
  669.         ZCOMM's term function maps the keyboard by scanning a table of
  670.         mappings for a match to the key's modified scan code, shift state, and
  671.         the state of the emulation machine.  Iff the match is successful,
  672.         special characters required by the emulation are sent to the
  673.         application according to the class field, followed by the character(s)
  674.         defined in the mapping.
  675.  
  676.         If you have a 101 key keyboard and ROM BIOS support for it, set the K
  677.         numeric parameter to 1 to activate the extra keys,[1] and set the N
  678.         numeric parameter to 1 to keep the keyboard in its preferred NumLock
  679.         state at all times.
  680.  
  681.         With a regular keyboard, you must make more compromises in selecting
  682.         your keyboard mapping, depending on which keys are important to your
  683.         particular application.  In particular, the "5" key on the numeric pad
  684.         doesn't work unless NumLock is on.  The four possible values of the N
  685.         numeric parameter allow the keyboard to be placed in NumLock none of
  686.         the time, all the time, when the emulation's Numeric Keypad mode is
  687.         on, or when Alternate Keypad mode is on.
  688.  
  689.         To devise your own mapping, you will need to know the modified scan
  690.         code, shift state, and ZCOMM internal value for each key you wish to
  691.         use.  The modified scan code and internal value information are
  692.         provided by the _ (underscore) command.
  693.  
  694.         To clear the keyboard mappings, give the mk command without arguments.
  695.  
  696.         For each term function keyboard mapping, the mk command takes four
  697.         arguments.
  698.  
  699.  
  700.  
  701.         __________
  702.  
  703.          1. This may cause problems with certain versions of IBM BIOS.
  704.  
  705.  
  706.  
  707.         (C) 1989 Omen Tech Inc                   Chapter 26 Terminal Emulation
  708.  
  709.  
  710.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  711.         ZCOMM User Manual                                                  223
  712.  
  713.         modified scan code This is normally the value returned by the ROM BIOS
  714.             indicating the key's physical location on the keyboard.  If the
  715.             raw scancode equals 224 (extended keyboard only), the modified
  716.             scancode consists of the scancode added to the ZCOMM internal
  717.             code.  It is shown by the second number printed by the _
  718.             (underscore) command.
  719.  
  720.         shift state The arithmetic sum of the following conditions:
  721.  
  722.             1   Right hand shift key
  723.  
  724.             2   Left hand shift key
  725.  
  726.             4   Ctrl Key
  727.  
  728.             8   Alt key
  729.  
  730.             16  Provided the Shift, Crrl, and Alt key states match, select
  731.                 this mapping regardless of whether the Application Keypad Mode
  732.                 or the Decoded Function Key conditions (below) are true.
  733.  
  734.             32  Alternate Keypad Mode (not numeric)
  735.  
  736.             64  Decoded Function Key (Character value greater than 0400 as
  737.                 displayed by the _ (underscore) command.
  738.  
  739.             128 Select this mapping unconditionally.
  740.  
  741.             Note that a separate entry must be made for each shift key
  742.             (left/right).  A separate entry may be made for BOTH left and
  743.             right shif keys provided your computer's BIOS recognizes
  744.             characters entered with both shift keys down.
  745.  
  746.         class
  747.  
  748.             0   Cursor Code (LRUD).  In VT52 mode, ESC is prepended to the
  749.                 string.  In VT100 Application mode, "ESC [" is prepended.  In
  750.                 VT100 Cursor mode, "ESC O" is prepended.
  751.  
  752.             1   PFK Key.  In VT52 mode, ESC is prepended, otherwise "ESC O".
  753.  
  754.             2   Numeric Keypad.  Not mapped in Numeric Keypad mode.  In
  755.                 Alternate Keypad mode, the string is prepended with with
  756.                 "ESC ?" for VT52, "ESC O" for VT100.
  757.  
  758.             3   An ESC is prepended.
  759.  
  760.             4   No characters are added to the string.
  761.  
  762.         string A string of 1 to 7 characters taken from the third column
  763.             above.  Control characters must be represented with ZCOMM
  764.  
  765.  
  766.         (C) 1989 Omen Tech Inc                   Chapter 26 Terminal Emulation
  767.  
  768.  
  769.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  770.         ZCOMM User Manual                                                  224
  771.  
  772.             character escapes.
  773.  
  774.         96 keyboard mapping entries are allowed.
  775.  
  776.  
  777.         EXAMPLE: We wish to map the Up key to send the VT100 cursor up code.
  778.         First, we see _ (underscore) command dislays 72 72 0 510 for the Up
  779.         key, indicating a scan code of 72, modified scan code of 72, 0 shift
  780.         state, and a ZCOMM internal code of 0510 (Function Key).  (Exit the _
  781.         command by typing Ctrl-Enter).
  782.  
  783.         To make this key always active in "display mapkb" mode, assign it a
  784.         shift state of 16.  Since VT100 cursor keys have class 0, the command
  785.         is: mk 72 16 0 A
  786.  
  787.  
  788.         EXAMPLE: mk 72 1 0 A maps "right shift keypad 8" to send the VT100
  789.         cursor up code (assumes right shift key).
  790.  
  791.  
  792.         The set command may also be used to define suitable key mappings.
  793.  
  794.         SEE ALSO: dA and dM test conditions, std.mk and 101.mk key mapping
  795.         script files.
  796.  
  797.         26.4  Display Operation
  798.  
  799.         When ZCOMM starts up, or regains control after a DOS Gateway, the
  800.         video mode and number of columns and rows are interrogated with a BIOS
  801.         interrupt call.  If the columns are less than 80, or if the BIOS video
  802.         mode is between 4 and 6, the video mode is changed to 3 (color,
  803.         80x25).  If other BIOS video modes cause problems, give a DOS "mode
  804.         co80" or "mode mono" command before starting ZCOMM.  Display boards
  805.         with more than 80 columns or more than 25 lines are supported by the #
  806.         and $ numeric parameters (q.v.).  If a monochrome or EGA board is
  807.         detected during initialization, warpdrive is selected for best
  808.         performance.
  809.  
  810.         ZCOMM supports extended EGA displays with ANSI 132 column escape codes
  811.         and the V numeric parameter.  Special text video modes can be accessed
  812.         with the videobios command.
  813.  
  814.         If ZCOMM is started with a Topview or DESQview virtual screen, the
  815.         video memory pointers are adjusted.
  816.  
  817.         For special applications, the display may be completely inhibited with
  818.         a "display inhibit" command.  Updating of the display is reenabled by
  819.         a display NOinhibit command or a fatal error disgnostic.
  820.  
  821.         In addition, ZCOMM can emulate hard copy terminals by displaying
  822.         identical overstruck characters in bold (high intensity) and by
  823.  
  824.  
  825.         (C) 1989 Omen Tech Inc                   Chapter 26 Terminal Emulation
  826.  
  827.  
  828.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  829.         ZCOMM User Manual                                                  225
  830.  
  831.         underlining characters when the overstrike involves the ASCII
  832.         underline character.  This is enabled with a "display overstrike"
  833.         command.  (With the Color/Graphics board, underlining is represented
  834.         by reverse video.) (A character position on the screen is overstruck
  835.         if the character position being written already contains a character.)
  836.  
  837.         If the applications used involve backspacing and overstriking for
  838.         character editing, overstrike will produce random bold characters and
  839.         may be shut off with a "display NOoverstrike" command.  Alternatively,
  840.         the term function subcommand ALT-O will toggle overstrike.
  841.  
  842.         Normally, a received linefeed causes vertical movement only.  If
  843.         nlmode is set with a "display nlmode" command, a received linefeed
  844.         also performs a carriage return.  Nlmode is useful for Unix(TM) and
  845.         similar systems.  ZCOMM's Nlmode setting must agree with Unix's nlmode
  846.         setting for screen oriented programs such as Berkeley Editor to
  847.         function properly.
  848.  
  849.         Normally ZCOMM autowraps if there are too many characters on a line.
  850.         This can be turned off with a "display noautowrap" command.
  851.  
  852.         Normally a received bell character will jangle the speaker with a
  853.         beep.  The command "display bell=visual" silently displays BEL as a
  854.         flashing musical note without spacing to the next character position.
  855.  
  856.         The monochrome display adapter and some Color/Graphics boards allow
  857.         DMA access to the video RAM without snow (sometimes called
  858.         Chromablizzard).  Warpdrive can be used with the Paradise Systems
  859.         Multidisplay Card, The IBM Enhanced Graphics Adapter, and on the
  860.         Compaq without daggers flying about the screen.  Many of the
  861.         aftermarket graphics display boards also work properly with warpdrive.
  862.         Warpdrive doubles the raw display update speed.
  863.  
  864.         When operating with some color/graphics display controllers (including
  865.         the IBM CGA board), updating the display will cause snow to appear on
  866.         the screen unless warpdrive is disabled.
  867.  
  868.         26.5  Non Standard Displays
  869.  
  870.         ZCOMM defaults to a 80 by 25 display, with the bottom line used for
  871.         status information.  Some displays support more than 25 lines and/or
  872.         more than 80 characters per line.  In other cases, ZCOMM might be run
  873.         in a small window in multitasking environments such as TopView,
  874.         DESQview, or Windows.
  875.  
  876.         The $ and # numeric parameters may be set to accomodate these
  877.         situations.  A cls command should be given after changing the $ or #
  878.         numeric parameter.  When ZCOMM starts up, the $ numeric parameter
  879.         (number of columns) is set according to the value returned by the
  880.         BIOS.  ANSI 132 column escape codes are not recognized in windowed
  881.         operation.  Chapter 21 describes these parameters.
  882.  
  883.  
  884.         (C) 1989 Omen Tech Inc                      Chapter 26 Log Entry Codes
  885.  
  886.  
  887.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  888.         ZCOMM User Manual                                                  226
  889.  
  890.         27.  LOGGING ENTRIES
  891.  
  892.         ZCOMM can be set to keep various logs with the callers, calllog,
  893.         rcmdlog, rxlog, and txlog string parameters.  Entries in the log files
  894.         include a code in the first column to indicate the conditions of the
  895.         operation associated with the entry.  They are encoded as follows:
  896.  
  897.         *  An open file was implicitly closed when another file was opened or
  898.            as a result of a port or call command, or dialing a number.
  899.  
  900.         C  Successful completion of a Compuserve B protocol file transfer.
  901.  
  902.         C  Call terminated by loss of carrier detect, bye or off command, or
  903.            dialing another phone number.  Connect time is displayed in tenths
  904.            of minutes.
  905.  
  906.         c  An open file was closed with a close or ALT-C command.
  907.  
  908.         E  Operation terminated by error.
  909.  
  910.         F  A transmit file was closed as a result of an end of file
  911.            encountered as it was transmitted by the term function.
  912.  
  913.         g  A transmit file was closed as a result of an end of file
  914.            encountered by the grab command, file received with the fget
  915.            command.
  916.  
  917.         K  Successful Kermit file transfer.
  918.  
  919.         L  Log entry of a host state login, connect time in tenths of minutes.
  920.  
  921.         m  Message received with the message or private command.
  922.  
  923.         n  The file name shown is illegal for the local operationg system, and
  924.            has been changed to "rename.###".  The numeric value of ### is
  925.            shown in the count field.
  926.  
  927.         R  Successful file received with XMODEM family protocol.
  928.  
  929.         Q  Questionable filtransfer sent with XMODEM family protocol.  On
  930.            receive: an EOT character was received but could not be verified;
  931.            the file may be truncated.  On Send: All data blocks were
  932.            acknowledgd, but the EOT was not.
  933.  
  934.         q  Partially transmitted file skipped by request.
  935.  
  936.         S  Successful file sent with XMODEM or XMODEM BATCH protocol.
  937.  
  938.         t  File received with TWX convention (terminated by EOT, ETX, or ^Z).
  939.  
  940.  
  941.  
  942.  
  943.         (C) 1989 Omen Tech Inc                      Chapter 27 Log Entry Codes
  944.  
  945.  
  946.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  947.         ZCOMM User Manual                                                  227
  948.  
  949.         U  An incomplete received file was Unlinked (removed).
  950.  
  951.         X  Call terminated by off or x command or by software termination
  952.            signal.
  953.  
  954.         x  A file was closed implicitly when ZCOMM exited to the operating
  955.            system.
  956.  
  957.         Z  Successful file received with ZMODEM protocol.
  958.  
  959.         z  Successful file sent with ZMODEM protocol.
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.         (C) 1989 Omen Tech Inc                      Chapter 27 Log Entry Codes
  1003.  
  1004.  
  1005.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1006.         ZCOMM User Manual                                                  228
  1007.  
  1008.         27.1  Performance Log
  1009.  
  1010.         The plog string parameter enables file transfer performance logging.
  1011.         The default empty value disables this function.  Performance log
  1012.         keeping does not affect the nolog command.
  1013.  
  1014.         A sample entry is shown below.  The fields are: speed, log code, "L"
  1015.         for loss of carrier detect (otherwise blank), file name, length,
  1016.         average transfer rate (characters per second), transfer time in
  1017.         seconds (file open to file close), number of seconds required to start
  1018.         the transfer, number of errors (retransmissions), flow control
  1019.         transistions, block length/subpacket length (at end of file), measured
  1020.         round trip delay time in hundredths of seconds, the command (or
  1021.         facsimilie thereof), the other program's serial number (-1 if not
  1022.         available), the directory entry or caller's name, and the hardware
  1023.         handshake option.
  1024.  
  1025.         2400 Z  FOO.ARC 153760 186 826 1 20 260 256 234 sz 1171 guess who off
  1026.  
  1027.         The above example shows 1 second to start the transfer, 20
  1028.         retransmissions, and 260 times that YAM had to wait for flow control
  1029.         release.  This unusual set of figures is the result of a "networked"
  1030.         transfer through the "cu" program on a Unix system to a PC, not a
  1031.         normal connection or PC-Pursuit access.
  1032.  
  1033.         The count of flow control transitions gives an indication of flow
  1034.         control restraint applied by the modem, network, or receiver.  Since
  1035.         it counts the times YAM has entered a wait because of flow control
  1036.         restraint and not the total amount of time spent in that state, it is
  1037.         not an accurate quantitative measure.
  1038.  
  1039.         The file transfer time and throughput calculation excludes the time
  1040.         required to start the transfer, since that time is often not under the
  1041.         protocol's control.
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.         (C) 1989 Omen Tech Inc           Chapter 27 Error (and other) Messages
  1062.  
  1063.  
  1064.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1065.         ZCOMM User Manual                                                  229
  1066.  
  1067.         28.  ERROR (and other) MESSAGES
  1068.  
  1069.         In the following messages, a %s refers to a filename or some other
  1070.         name or string. %d or %ld refers to a decimal number.  %x refers to
  1071.         hexadecimal number, usually a character received from the modem.
  1072.  
  1073.         Error messages referring to the XMODEM protocol and/or XMODEM/CRC
  1074.         protocol also apply to the the YMODEM Batch protocol, which is an
  1075.         extension of the XMODEM protocol.  Most of the XMODEM error messages
  1076.         are preceded by the sector and error number.
  1077.  
  1078.         ; not allowed with while The while command does not allow any
  1079.         semicolons to exist on the rest of the line.
  1080.  
  1081.         Aborting with error from remote: The remote Kermit program has aborted
  1082.         the file transfer with the following message.
  1083.  
  1084.         Access Password When ZCOMM is in host operation, callers must enter an
  1085.         access password to gain access to the system, unless the string
  1086.         parameter Password is empty.
  1087.  
  1088.         Awaiting initial NAK When sending a file with the XMODEM protocol,
  1089.         ZCOMM is waiting for the receiver to start the transfer with an
  1090.         initial NAK character.
  1091.  
  1092.         Awaiting pathname NAK When sending a file in the the YMODEM Batch
  1093.         protocol, ZCOMM is waiting for the receiver to request transmission of
  1094.         the file name, and length.
  1095.  
  1096.         Bad CIS ESC request %x ZCOMM has detected an undefined Compuserve
  1097.         Protocol escape request.  Usually due to a line hit or an aborted
  1098.         transfer.
  1099.  
  1100.         Bad CIS request %x ZCOMM has detected an undefined Compuserve Protocol
  1101.         request.  Usually due to a line hit or an aborted transfer.
  1102.  
  1103.         Bad Command Please refer to Chapter 15 for legal commands.
  1104.  
  1105.         Bad Condition Please refer to Chapter 24 for legal conditions which
  1106.         may be tested by the if or while commands.
  1107.  
  1108.         Bad CRC=%x An error was detected on the last block received with the
  1109.         XMODEM or the YMODEM Batch protocol.  ZCOMM will request
  1110.         retransmission of the block.
  1111.  
  1112.         Bad Directory The directory given in a cd command does not exist or is
  1113.         unreadable.
  1114.  
  1115.         Bad Disk A command of the form D: attempted to change the default disk
  1116.         to one that is not in the string parameter disks.
  1117.  
  1118.  
  1119.  
  1120.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1121.  
  1122.  
  1123.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1124.         ZCOMM User Manual                                                  230
  1125.  
  1126.         Bad Mode Please refer to Chapter 18 for a list of legal Modes.
  1127.  
  1128.         Bad Option Please refer to Chapter 17 for legal Options to the k, r
  1129.         and s commands.
  1130.  
  1131.         Bad Parameter The p command was given with an unknown parameter
  1132.         letter.  The parameters that can be set may be displayed with the p
  1133.         command given without any parameter.
  1134.  
  1135.         Bad parity Setting The 7{eoms} mode must be be one of e o m s (even,
  1136.         odd, marking, spacing).
  1137.  
  1138.         Bad SNP A valid and legal serial number-password must be entered with
  1139.         the putsnp program.
  1140.  
  1141.         Call Terminated An attempt at connecting to a remote system has been
  1142.         abandoned.
  1143.  
  1144.         Can't allocate buffer ZCOMM was unable to allocate memory for the
  1145.         circular buffer, forcing an immediate exit.
  1146.  
  1147.         Can't find Directory entry for %s A call or gosub command for name
  1148.         failed because name was not found in the directory.
  1149.  
  1150.         Can't open %s errno = %d The named file cannot be opened for reading
  1151.         or writing (depending on the application).  The common reasons are
  1152.         listed below:
  1153.  
  1154.         1   No such file or directory.
  1155.  
  1156.         4   Bad file number.
  1157.  
  1158.         5   Not enough core.
  1159.  
  1160.         6   Permission denied.
  1161.  
  1162.         7   File exists.
  1163.  
  1164.         8   Cross-device link.
  1165.  
  1166.         10  Too many open files.  (If this error appears when the specified
  1167.             file is accessible, increase the number of available files with a
  1168.             "FILES=20" statement in CONFIG.SYS.)
  1169.  
  1170.         11  No space left on device.
  1171.  
  1172.         14  Resource deadlock would occur.
  1173.  
  1174.         Can't send pathname %s The receiver did not accept the named pathname
  1175.         in a batch transfer.
  1176.  
  1177.  
  1178.  
  1179.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1180.  
  1181.  
  1182.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1183.         ZCOMM User Manual                                                  231
  1184.  
  1185.         Cannot unsqueeze %s An error attempting to unsqueeze a SQueezed file.
  1186.         A required key file is missing, or the decoding information stored in
  1187.         the beginning of the SQueezed file is corrupted.
  1188.  
  1189.         No Carrier Detect The Carrier Detect signal from the modem (pin 8 of
  1190.         the RS232 connector) is OFF.  This is often caused by a bad modem
  1191.         cable, or improper modem strapping options.  Setting d mode prevents
  1192.         ZCOMM from issuing this message.
  1193.  
  1194.         Changing pathname An illegal pathname has been received.  ZCOMM is
  1195.         changing the pathname to one the local operating system will accept.
  1196.  
  1197.         Checksum Bad rx=%x cx=%x The last block was received with a bad
  1198.         checksum.  The received checksum and the calculated checksum are
  1199.         displayed.  A retransmission request will be made.
  1200.  
  1201.         Checksum error in %s A SQueezed file did not UnSQueeze with the
  1202.         expected checksum.  Most likely a data error in the SQueezed file, or
  1203.         the Key file (if the file was encrypted).  Another possibly is a
  1204.         software error in the program that SQueezed the file.
  1205.  
  1206.         Closing %s Reception of data for the named file has finished and ZCOMM
  1207.         is closing out the file.
  1208.  
  1209.         Command not allowed remotely Certain commands may only be given from
  1210.         the local keyboard as they would sever communications with a remote
  1211.         user in host operation.
  1212.  
  1213.         Connected to Console Keyboard This message is sent to a caller when
  1214.         the chat command is given in host operation.
  1215.  
  1216.         *** DISK FULL *** If this message appears, your problems may have just
  1217.         started; DOS has been known to trash the disk file system when the
  1218.         disk is filled up.  If the disk has been filled up as a result of
  1219.         receiving data with the term function, use the t, b, w review
  1220.         subcommands to store the unwritten data on disk.  The browse command
  1221.         may be used to free up disk space.  The integrity of the disk file
  1222.         system should be checked with chkdsk/f as soon as possible.
  1223.  
  1224.         Enter message up to 64 lines, type blank line when finished The
  1225.         message or private command allows the user (local, or remote when is
  1226.         host operation) to enter a message which will be appended to the
  1227.         Messages or Private file.
  1228.  
  1229.         Error Checksum=%x Got %x An error was detected in a record received
  1230.         from Compuserve.  ZCOMM will request retransmission.
  1231.  
  1232.         Error Recovery ZCOMM has detected a protocol error and is waiting for
  1233.         the line to settle before proceeding.
  1234.  
  1235.         Exists. Replace/Append/Quit (r/a/q)??  The named file already exists
  1236.  
  1237.  
  1238.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1239.  
  1240.  
  1241.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1242.         ZCOMM User Manual                                                  232
  1243.  
  1244.         on the local system.  You have three options: Replace the old file
  1245.         with the new data, Append the new data to the end of the old file, or
  1246.         Quit the transfer.
  1247.  
  1248.         Exit chat with ^Z The remote should type Ctrl-Z to exit from chat back
  1249.         to the ZCOMM prompt.
  1250.  
  1251.         Falling back to XMODEM/CRC An attempted XMODEM-CRC file receive has
  1252.         failed because the sender has not responded to CRC Send requests, so
  1253.         Zcomm will now try checksum XMODEM.
  1254.  
  1255.         FILES OPEN A transmit and/or receive file is open.  Files should be
  1256.         closed before executing any commands that would modify data on disk
  1257.         and/or any directories.
  1258.  
  1259.         Fetching pathname ZCOMM has requested the remote sender to transmit
  1260.         the name and length of the next file in a the YMODEM Batch protocol
  1261.         transfer.
  1262.  
  1263.         File is Not SQueezed The USQ command has detected a file which does
  1264.         not have the standard header for SQueezed files.  The file is ignored.
  1265.  
  1266.         found %d %s This informational message is generated when the term
  1267.         function matches a pattern and the v parameter is non zero.
  1268.  
  1269.         Got %x for record ACK The Compuserve computer rejected the last record
  1270.         sent.
  1271.  
  1272.         Got %x for sector ACK In the XMODEM protocol, a transmitted sector
  1273.         elicited a response other than the expected ACK, or a NAK.  Perhaps
  1274.         the receiving program has terminated and ZCOMM is trying to send the
  1275.         record to the remote's operating system command prompt.
  1276.  
  1277.         Got %x for ACK to EOT The XMODEM protocol sends an EOT to terminate
  1278.         each file transfer.  The proper response to the EOT is an ACK;
  1279.         anything else is an error.  ZCOMM resends the EOT up to ten times if
  1280.         an ACK is not received.
  1281.  
  1282.         Got %x sector header In the XMODEM protocol, A sector should start
  1283.         with 01 or 02.  (02 signifies a 1024 byte block.) An EOT followed by
  1284.         extraneous characters appears as a sector header of 04 (EOT).
  1285.  
  1286.         Got burst for sector ACK In the XMODEM protocol, sectors are
  1287.         acknowledged with a single ACK (006) character.  ZCOMM detects an
  1288.         invalid ACK response by waiting two character times to make sure no
  1289.         noise burst accompanied the ACK.  It's far better to retransmit a
  1290.         block which has been received correctly than it is to incorrectly
  1291.         proceed to the next block, causing a synchronization error.
  1292.  
  1293.         Got record %x expecting %x A synchronization error has been detected
  1294.         in the Compuserve protocol.  The file should be deleted as it will
  1295.  
  1296.  
  1297.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1298.  
  1299.  
  1300.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1301.         ZCOMM User Manual                                                  233
  1302.  
  1303.         have been truncated.
  1304.  
  1305.         Got ZRPOS indicates the receiving program has detected a transmission
  1306.         error and has requested retransmission.  In other words, ZMODEM is
  1307.         doing its job of detecting and correcting missing and garbled data.
  1308.         Please refer to Chapter 13 for more information.
  1309.  
  1310.         Goto not in script context The goto command is valid only in a script.
  1311.  
  1312.         Hit F1 to End When receiving data with the fget command, hit F1 to end
  1313.         data collection.  Any regular character is passed to the remote.
  1314.  
  1315.         Hit any Key to stop When sending a file with the fput command, ZCOMM
  1316.         samples the keyboard every so often to allow the operator to abort the
  1317.         transfer.  The keyboard is not scanned continuously because the
  1318.         resulting overhead would impair the throughput available with the fput
  1319.         command.
  1320.  
  1321.         Incorrect The password entered is not the correct password.
  1322.  
  1323.         Insufficient DOS FILES=# Add a FILES=20 line to the active CONFIG.SYS
  1324.         file and reboot DOS to get a sufficient number of file handles to
  1325.         support the level of script nesting required for your application.
  1326.  
  1327.         Internal Stack Failure The number and/or size of DOS 3.2 internal
  1328.         stacks should be increased, or a better operating system should be
  1329.         substituted.
  1330.  
  1331.         %s Is Illegal Device Device is not one of the legal devices in the
  1332.         string parameter Disks.
  1333.  
  1334.         Is Restricted Path When ZCOMM is Restricted, only the Home directory
  1335.         and its subdirectories may be accessed.
  1336.  
  1337.         Key file read error An input error was detected while reading a key
  1338.         file used to decrypt SQueezed files.
  1339.  
  1340.         Label %s not found A goto label command was given, but label could not
  1341.         be found in the same file as the goto command.
  1342.  
  1343.         Loc 0 Corrupted An internal error (data stored into location 0 in the
  1344.         data segment) has been detected.  If not caused by a hardware problem,
  1345.         please report to Omen.
  1346.  
  1347.         Local Kermit Timed Out ZCOMM did not receive a Kermit packet from the
  1348.         remote within the timeout specified by the Kermit t parameter.
  1349.  
  1350.         Modem SR=%x While receiving a file with the XMODEM protocol, a
  1351.         framing, break, overrun, or other such error was detected by the UART.
  1352.         The UART's Line Status Register is displayed in octal.  The possible
  1353.         error conditions, 02=Overrun, 04=Parity Error, 08=Framing Error, and
  1354.  
  1355.  
  1356.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1357.  
  1358.  
  1359.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1360.         ZCOMM User Manual                                                  234
  1361.  
  1362.         10=Break, may occur singly or or'ed together.  A typical value is 63,
  1363.         signifying data ready, overrun, break, and transmitter holding
  1364.         register empty.
  1365.  
  1366.         Must set top with t command first When using the w subcommand from
  1367.         review, the top of the buffer segment to be written must be set with
  1368.         the t subcommand.
  1369.  
  1370.         NAK on sector In the XMODEM protocol, the receiver detected a
  1371.         transmission error and has requested retransmission.
  1372.  
  1373.         No ACK on EOT In the XMODEM protocol, and EOT is sent and acknowledged
  1374.         after the data blocks have been sent.  This message indicates that the
  1375.         EOT has not been acknowledged after 10 attempts.
  1376.  
  1377.         No ACK on sector The XMODEM transmit protocol has retransmitted the
  1378.         sector 10 times without receiving an acknowledgement from the
  1379.         receiver.  This is usually caused by a loss of connection, or by a
  1380.         software or hardware problem that does not allow all characters to
  1381.         pass without error.  For example, if the modem cannot pass a character
  1382.         with the 8th bit set, the sector number cannot be sent.  Kermit should
  1383.         be used under such conditions.
  1384.  
  1385.         No Carrier Detect The Carrier Detect signal from the modem (pin 8 of
  1386.         the RS232 connector) is OFF.  This is often caused by a bad modem
  1387.         cable, improper modem strapping options, bad port number selection, or
  1388.         a defective or incorrectly configured serial interface.  Setting d
  1389.         mode prevents ZCOMM from issuing this message.
  1390.  
  1391.         No such command The DOS Gateway handler was unable to load the proper
  1392.         command and/or command.com.
  1393.  
  1394.         Not allowed to overwrite %s When ZCOMM is restricted, existing files
  1395.         may not be overwritten.
  1396.  
  1397.         Nothing to read A read command was given and no file is open for
  1398.         reading.
  1399.  
  1400.         Null Pathname An attempt was made to reference a file with an empty
  1401.         file name.  This error sometimes results from a software bug in
  1402.         Compuserve software attempting to download a file with a filename it
  1403.         can't handle correctly, so it just leaves the filename empty.
  1404.  
  1405.         Obey Recursion = %d The main command parser has been called
  1406.         recursively with too many script levels and/or invocations of the obey
  1407.         command.
  1408.  
  1409.         Other end no longer in Kermit Other side timed out.  The Kermit on the
  1410.         other computer has terminated the file transfer.
  1411.  
  1412.         Out of Memory ZCOMM has exhausted the memory available to it.
  1413.  
  1414.  
  1415.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1416.  
  1417.  
  1418.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1419.         ZCOMM User Manual                                                  235
  1420.  
  1421.         Output Flow Control Restraint RELEASED The network or modem did not
  1422.         release flow control within the time limit set by the S numeric
  1423.         parameter.  This message is usually caused by a spurious XOFF
  1424.         character generated by line noise.  It may also be caused by missing
  1425.         CTS (Clear To Send) signal on the data port.
  1426.  
  1427.         OVERRUN: DATA May Be Lost Data has been received from the Remote
  1428.         faster than ZCOMM could process it.  Some of it has been rerouted to
  1429.         the proverbial bit bucket.
  1430.  
  1431.         Pause (grab) Sending of data has been stopped by execution of the grab
  1432.         command.
  1433.  
  1434.         Pause (handshake)
  1435.         Pause (XOFF) Sending of data has been suspended by flow control.
  1436.  
  1437.         Pattern Flags Reset This message is a reminder that any "pattern
  1438.         found" flags are being reset.  If this message appears after a phrase
  1439.         has been "found", but before the phrase is expected, or before the
  1440.         wait statement that should have "seen" the phrase, the script needs to
  1441.         be modified.
  1442.  
  1443.         Port %d (%X) defective The indicated communications port (8250
  1444.         integrated circuit) failed a simple diagnostic test.  Errors in the
  1445.         option board switch or strap settings may prevent the port from being
  1446.         accessible at the expected address.
  1447.  
  1448.         PRINTER SPOOLER BUSY The print spooler has been enabled with the l
  1449.         mode, and had not finished outputting from the circular buffer to the
  1450.         printer when you exited the term function.  To print the rest of the
  1451.         data, return to the term function with F2.  You may exit ZCOMM at this
  1452.         time, but the rest of the data you wanted to print will be lost.
  1453.  
  1454.         Receive:'%s' FILE OPEN The named file has been opened for protocol
  1455.         transfer.
  1456.  
  1457.         Received dup Sector The last sector was apparently received twice.  In
  1458.         the XMODEM protocol, a retransmission is requested in case the sector
  1459.         number was garbled by an otherwise undetected error.  The duplicate
  1460.         sector is accepted, discarded, and file transfer proceeds.
  1461.  
  1462.         Receiving in Batch Mode Files will be received using the error
  1463.         correcting YMODEM Batch protocol.
  1464.  
  1465.         %s removed A file received in error is removed to allow another
  1466.         attempt at uploading it correctly.
  1467.  
  1468.         Restricted Command This command is not allowed when ZCOMM is
  1469.         Restricted to protect the system from inadvertent and/or willful
  1470.         tampering.
  1471.  
  1472.  
  1473.  
  1474.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1475.  
  1476.  
  1477.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1478.         ZCOMM User Manual                                                  236
  1479.  
  1480.         Resynchronizing When ZCOMM is sending a file to another copy of ZCOMM
  1481.         using CRC-16, recovery from sync errors is possible.
  1482.  
  1483.         Scripts nested too deep Too many levels of call, gosub, and source
  1484.         commands are active.
  1485.  
  1486.         Sector number garbled An error has been detected in the sector number
  1487.         of the last received packet.  A retransmission will be requested.
  1488.  
  1489.         If this error persists for all 9 retries, the transmission medium or
  1490.         the remote software may be messing with the 8th bit and/or characters
  1491.         with certain bit patterns.  Modems and networks often "eat" control
  1492.         characters, especially XON and XOFF.  Switching to ZMODEM or Kermit
  1493.         may solve the problem.
  1494.  
  1495.         Sender CANcelled The Remote has aborted file transfers by sending a
  1496.         sequence of CAN characters.
  1497.  
  1498.         Sending in Batch Mode One or more files are being sent in the YMODEM
  1499.         Batch Error correcting protocol.
  1500.  
  1501.         Serial Input Error: Line Status Register HH indicates a slow device
  1502.         driver, TSR program, or other software is disabling interrupts too
  1503.         long for the program to accept incoming data, and some characters are
  1504.         lost.  A slow response to folow control also triggers this message.
  1505.  
  1506.         The value of the line status register is displayed in HEX.  The
  1507.         following error conditions when present OR into the Line Status
  1508.         Register.
  1509.  
  1510.  
  1511.         01   The Interrupt level circular buffer has been overrun.  The remote
  1512.              did not respond to ZCOMM's XOFF or hardware flow control, and
  1513.              continued to send characters after being told not to.  This
  1514.              problem is alleviated by correct modem flow control
  1515.              configuration.
  1516.  
  1517.  
  1518.         02   An 02 value for the LSR indicates Data Overrun.  "Data Overrun"
  1519.              means the computer was not able to respond to an incoming
  1520.              character from the UART (modem) in time to make room for the next
  1521.              incoming character.  Data Overruns are caused by poorly designed
  1522.              software (or ROM BIOS "firmware") locking out interrupts for
  1523.              excessive periods.  These lockouts prevent the communications
  1524.              program from responding to the incoming characters quickly
  1525.              enough.
  1526.  
  1527.              To correct Data Overruns, correct the offending condition(s) to
  1528.              allow the communications program to operate properly.
  1529.  
  1530.              Common causes of excessively long interrupt lockouts ("critical
  1531.  
  1532.  
  1533.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1534.  
  1535.  
  1536.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1537.         ZCOMM User Manual                                                  237
  1538.  
  1539.              code regions") are disk drivers (BIOS), window managers, disk
  1540.              caches, TSR programs, EGA/VGA board auto-select.
  1541.  
  1542.              Some BIOS programs are written without regard to their effect on
  1543.              high speed communications.  Sometimes better versions of the
  1544.              offending BIOS programs are made available if enough users
  1545.              complain about poor performance.
  1546.  
  1547.              Interrupt latency caused by EGA/VGA board auto-select can be
  1548.              often corrected by disabling the board's Auto-Select.
  1549.  
  1550.              Other chapters in this document give suggestions for working
  1551.              around excessive interrupt latency, primarily the handshake slow
  1552.              command and use of the NS16550AN UART chip.  Please refer to the
  1553.              "Brain Damaged UARTS" subchapter.
  1554.  
  1555.              Please try all the suggestions mentioned here before contacting
  1556.              Omen Technology about data overruns.
  1557.  
  1558.  
  1559.         08   Framing Error generally caused by line noise or an incorrect
  1560.              transmission speed ("baud rate") or format (number of bits).
  1561.              Most protocols require 8 bits no parity (-8n) for proper
  1562.              operation.  This is set automatically by Omen Technology
  1563.              programs, but other programs may not be so smart.
  1564.  
  1565.  
  1566.         10   Break Interrupt generally caused by line noise or an incorrect
  1567.              transmission speed ("baud rate") or format (number of bits).
  1568.  
  1569.  
  1570.         18   Framing Error and Break Interrupt (see above) in combination.
  1571.  
  1572.              This error may also be caused by defective 8250 UART chips.
  1573.              Certain internal modem cards have slow 8250 chips that do not
  1574.              operate properly with computers faster than 4.77 mHz.  Replacing
  1575.              the 8250 with a NS16550AN is recommended.
  1576.  
  1577.  
  1578.         Setab: %d %s The displayed string of length %d has been queued to be
  1579.         sent to the remote as a result of a put, or putw command, or an
  1580.         answerback request.  Setab is also used in sending entstr in response
  1581.         to typing ENTER.
  1582.  
  1583.         *** STACK OVERFLOW *** Indicates ZCOMM has run out of memory for the
  1584.         program stack.  Do not pass go, do not collect $200.  Reboot the
  1585.         system with Ctrl-Alt-Del.  If you are using a large number of string
  1586.         variables, or if you have a large DOS enviornment, decreasing the size
  1587.         of ZCOMM's circular buffer with a DOS "set CBSIZE=" command may help.
  1588.  
  1589.         If this appears to be a ZCOMM software problem, please report it to
  1590.  
  1591.  
  1592.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1593.  
  1594.  
  1595.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1596.         ZCOMM User Manual                                                  238
  1597.  
  1598.         Omen Technology Inc.
  1599.  
  1600.         String too long The string would have been longer than the storage
  1601.         space allocated for it.
  1602.  
  1603.         Sync Error: got %d In the XMODEM protocol, a sector was received whose
  1604.         sector number does not match the expected sector number modulo 256, or
  1605.         the last sector number received modulo 256.  This usually happens when
  1606.         a transmission error causes the sender to receive a false ACK.
  1607.  
  1608.         Unless the o (OverThruster) or g option was used,[1] ZCOMM will
  1609.         request retransmission in case the invalid sector number was a result
  1610.         of a line hit.  If the file is being sent with CRC-16 by another copy
  1611.         of ZCOMM, resynchronization will be attempted after ten retries.
  1612.  
  1613.         Term Function Recursion = %d The term function has been forced to call
  1614.         itself recursively by f or t commands.  Use open or create commands
  1615.         instead.
  1616.  
  1617.         Timeout The Compuserve computer has not sent any data for a long time.
  1618.         When things get this slow, it is best to disconnect and ask Compurerve
  1619.         to credit you for wasted connect charges.
  1620.  
  1621.         Timeout on sector ACK In XMODEM protocol, ZCOMM times out waiting for
  1622.         an acknowledgement to a transmitted sector.
  1623.  
  1624.         Too Few arguments The command needs more operands than were given it.
  1625.  
  1626.         Transaction ABORTED BY ERROR / successful The message indicates the
  1627.         ending status of the last file transfer or command download.  If a
  1628.         file transfer ended in error, the last file may be truncated.
  1629.  
  1630.         Transfer Aborted: %ld Characters Received The Compuserve protocol has
  1631.         aborted file transfer due to an error.
  1632.  
  1633.         Transmit Data. When data has been sent, close it by typing ^Z When a
  1634.         remote caller has created a file with the t filename command, ZCOMM
  1635.         indicated readiness to receive data with this message.  When the file
  1636.         has been transmitted to ZCOMM, a Ctrl-Z will close the file.
  1637.  
  1638.         Unknown Machine Type ZCOMM looks at the ROM BIOS location F000:FFFE to
  1639.         determine whether it is running on a PC, XT, PC-jr, or PC-AT.  If the
  1640.         byte fetched in not a standard IBM value, ZCOMM complains and assumes
  1641.         the machine is equivalent to a PC or XT with respect to clock speed
  1642.         and i/o overlap.  SEE ALSO: o numeric parameter
  1643.  
  1644.  
  1645.         __________
  1646.  
  1647.          1. These options prevent error recovery.
  1648.  
  1649.  
  1650.  
  1651.         (C) 1989 Omen Tech Inc           Chapter 28 Error (and other) Messages
  1652.  
  1653.  
  1654.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1655.         ZCOMM User Manual                                                  239
  1656.  
  1657.         Unterminated Quoted Token A string token was quoted with a leading "
  1658.         (doublequote) character, but no matching " (doublequote) could be
  1659.         found on the same line.
  1660.  
  1661.         Waiting for call %d ZCOMM is in host operation and is awaiting call N.
  1662.         If n is greater than 1, then n-1 calls have been received since ZCOMM
  1663.         was invoked.
  1664.  
  1665.         Warning: Old dport=%x ier=%x out2=%x mask=%x isr=%08lX When selecting
  1666.         a port, ZCOMM has discovered that the port's interrupt enable bit was
  1667.         already set.  Some programs use modem interrupts for their operation
  1668.         but then fail to reset the interrupt enables when they exit.  When
  1669.         another program overlays the old program's interrupt service routine,
  1670.         an interrupt from the modem will transfer control to the overwritten
  1671.         memory locations, with unpredicatable results.  If the interrupt was
  1672.         set up by a memory resident program or device driver, this message may
  1673.         be ignored.  This information might be useful in the event of
  1674.         difficulties caused by such programs.  This message may be suppressed
  1675.         by defining the DOS environment variable HOTPORT.
  1676.  
  1677.         EXAMPLE: C>set HOTPORT=1
  1678.  
  1679.  
  1680.         SEE ALSO: port, portx commands
  1681.  
  1682.         Wrong number of arguments The set command accepts 0 arguments (display
  1683.         current values) or two arguments, the parameter name and the new value
  1684.         for it.
  1685.  
  1686.         XON Timeout The Kermit protocol (with the x option set) has timed out
  1687.         waiting for an XON character.
  1688.  
  1689.         ZMODEM Garbage count exceeded The reciever has detected a CRC or other
  1690.         error and signalled the sender, but the sender apparently has not
  1691.         received and responded to the retransmission request in a timely
  1692.         manner.  Usually caused by transmission line noise corrupting the
  1693.         retransmission request as well as the file data, or by an excessive
  1694.         number of characters stored in the modems and networks.
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.         (C) 1989 Omen Tech Inc               Chapter 28 Hardware Compatability
  1711.  
  1712.  
  1713.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1714.         ZCOMM User Manual                                                  240
  1715.  
  1716.         29.  HARDWARE/SOFTWARE COMPATABILITY
  1717.  
  1718.         29.1  Hardware Compatibility Notes
  1719.  
  1720.         IBM PS/2 Model 50Z Early samples of this machine have a design error
  1721.           on the motherboard that causes comms programs to lock up the
  1722.           machine.  Replacing the motherboard with a correctly functioning
  1723.           unit from current production corrects the problem.  The part number
  1724.           of the replacement PS2/50 Z motherboard is 35F5928.  (Information
  1725.           provided by John M. Choma 73047,3566) In the U.S. IBM has
  1726.           stonewalled on this issue, but in December 1988 agreed to replace
  1727.           the defective motherboards under warranty.
  1728.  
  1729.  
  1730.         NEC Multispeed The NEC Multispeed computer locks up unless STACKS is
  1731.           set in CONFIG.SYS.  In addition, one should disable floppy disk
  1732.           power save mode, and set popup program memory allocation to 0.  For
  1733.           best results, use the latest NEC software patches to the NEC MSDOS,
  1734.           and/or use an IBM PC-DOS instead of the DOS supplied by NEC.
  1735.  
  1736.         EGA/VGA Multimode Boards Some multimode EGA and VGA boards include an
  1737.           "auto select" feature designed to configure the board to various
  1738.           display standards using software trickery.  In the case of Paradise
  1739.           VGA and others, this feature causes excessive interrupt latency and
  1740.           loss of data at high speeds.  Disabling the auto select on the
  1741.           display board corrects this problem.
  1742.  
  1743.         EGA Wonder The BIOS in the ATI EGA Wonder has been observed to
  1744.           increase interrupt latency to the dismay of 9600 bps operation on an
  1745.           8 mHz no wait state AT clone.  There has also been a report
  1746.           (unexplained) that an EGA board has induced line noise in one
  1747.           instance.
  1748.  
  1749.         Tecmar Graphics Master To use ZCOMM with this display board, give a
  1750.           mode mono command before running ZCOMM.
  1751.  
  1752.         Leading Edge MODEMS and I/O BOARDS Some Leading Edge modems and
  1753.           interface boards use 8250 UART devices that do not respond correctly
  1754.           when the software turns the transmitter interrupts on and off.  High
  1755.           performance communications programs such as ZCOMM require properly
  1756.           functioning UART chips, such as the National Semiconductor 16450 or
  1757.           16550A.
  1758.  
  1759.  
  1760.         29.2  Brain Damaged UARTS
  1761.  
  1762.         Omen Technology has received reports of problems with buggy 8250 type
  1763.         UART integrated circuits in Leading Edge modem boards, serial port
  1764.         interfaces, and computers.  The defective chip logic affects high
  1765.         performance software.  Replacing the buggy chip with a newer chip
  1766.         (16450 or NS16550AN) corrects the problem.
  1767.  
  1768.  
  1769.         (C) 1989 Omen Tech Inc               Chapter 29 Hardware Compatability
  1770.  
  1771.